import request from '@/utils/request.js'


export function getBanner(campusId) {
	const data = {
		campusId: campusId
	}
	return request({
		url: '/homepage-service/main/getBanner',
		method: 'GET',
		data: data
	})
}

export function getColumnList(campusId) {
	const data = {
		campusId: campusId
	}
	return request({
		url: '/homepage-service/main/getColumnList',
		method: 'GET',
		data: data
	})
}

export function getActivity(campusId) {
	const data = {
		campusId: campusId
	}
	return request({
		url: '/homepage-service/main/getActivity',
		method: 'GET',
		data: data
	})
}

export function getCourse(campusId) {
	const data = {
		campusId: campusId
	}
	return request({
		url: '/homepage-service/main/getCourse',
		method: 'GET',
		data: data
	})
}

export function getSeckill(campusId) {
	const data = {
		campusId: campusId
	}
	return request({
		url: '/homepage-service/main/getSeckill',
		method: 'GET',
		data: data
	})
}

